!rm SCScostimprovements.eps
set terminal postscript eps
set output "SCScostimprovements.eps"
set size 3/5., 1.5/3.
set xlabel "Number of controllers"
set ylabel "Average cost improvement [%]"

#set key 6.85,8.7 box
#set key left top box
set key right bottom box
set grid

set pointsize 1.1

plot [1.5:9.5][0:35] "avg_reldiff_goodperiod_goodschedule.dat" with linespoints lt 1 lw 2 pt 5 title "Proposed approach",\
	"avg_reldiff_badperiod_goodschedule.dat" with linespoints lt 1 lw 2 pt 6 title "Straightforward periods",\
	"avg_reldiff_goodperiod_badschedule.dat" with linespoints lt 1 lw 2 pt 7 title "Straightforward schedule"
